package com.mindskip.xzs.domain.dto.student.exampaper;

import com.mindskip.xzs.domain.vo.student.exampaper.ExamPaperAnswerItemVO;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class ExamPaperAnswerDTO {

    @NotNull
    //试卷id
    private Integer id;

    @NotNull
    //耗时
    private Integer doTime;

    //得分
    private String score;

    @NotNull
    @Valid
    //答题信息
    private List<ExamPaperAnswerItemDTO> answerItems;

}
